#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

#define EXPR_LEN 256

typedef struct watchpoint
{
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */
	char expr[EXPR_LEN];
	uint32_t value;
} WP;
void init_wp_pool();
WP *new_wp(char *args);
int free_wp(int no);
void print_wp();
bool check_watchpoints();

#endif